#include <iostream>
#include <string>
#include <vector>

using namespace std;

int main()
{
    string s[10] = {"zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"};

    string n;
    cin >> n;

    if(n[0] == '0')
    {
        cout << s[0];
    }
    
    else
    {
        int ans = 0;
        for (int i = 0; i < n.length(); i++)
        {
            ans += n[i] - 48;
        }

        vector<int> a;
        for (; ans != 0; ans /= 10)
        {
            a.push_back(ans % 10);
        }

        for (vector<int>::reverse_iterator i = a.rbegin(); i != --(a.rend()); ++i)
        {
            cout << s[*i] << ' ';
        }
        cout << s[a[0]];
    }
    return 0;
}